package net.da.client.common.component;

import java.util.Map;

import com.google.gwt.user.client.ui.Panel;

public interface Component {
	
	public ComponentDef getComponentDef();
	
	public Panel getComponentRoot();
		
	public void onShow();
	
	public void onHide();
		
	public void onInit(Map initArgs);
	
	public void onReturn(Map returnArgs);
		
	public void onExit();

	public void onInvalidReturn();
		
}
